package com.yoga.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yan
 * @date 2025/8/18
 */
@Data
@TableName("admin")
public class Admin implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(condition = SqlCondition.LIKE)
    private String username;
    private String password;
    @TableField(condition = SqlCondition.LIKE)
    private String name;
    private String avatar;
}
